﻿package com.edu.hbwe.book.entity;

import java.io.Serializable;

/**
 * 订单商品表
 * @author rou
 *
 */
public class OrderItem implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 582024940823406047L;
	private String order_id;	//订单编号
	private String product_id;	//商品编号
	private Integer buynum;		//购买数量	
	public String getOrder_id() {
		return order_id;
	}
	public void setOrder_id(String order_id) {
		this.order_id = order_id;
	}
	public String getProduct_id() {
		return product_id;
	}
	public void setProduct_id(String product_id) {
		this.product_id = product_id;
	}
	public Integer getBuynum() {
		return buynum;
	}
	public void setBuynum(Integer buynum) {
		this.buynum = buynum;
	}
	@Override
	public String toString() {
		return "OrderItem [order_id=" + order_id + ", product_id=" + product_id + ", buynum=" + buynum + "]";
	}
}
